home *** CD-ROM | disk | FTP | other *** search
- /*
- File: ISOStr.h
-
- Contains: Routines to manipulate ODISOStr
-
- Owned by: Steve Smith, Vincent Lo.
-
- Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
-
-
- In Progress:
-
- */
-
- #ifndef _ISOSTR_
- #define _ISOSTR_
-
- #ifndef _ODTYPES_
- #include "ODTypes.h"
- #endif
-
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #define ODISOStrCopy(D,S) strcpy(D,S)
- #define ODISOStrNCopy(D,S,L) strncpy(D,S,L)
- #define ODISOStrConcat(D,S) strcat(D,S)
- #define ODISOStrNConcat(D,S,L) strncat(D,S,L)
- #define ODISOStrCompare(A,B) strcmp(A,B)
- #define ODISOStrNCompare(A,B,L) strncmp(A,B,L)
- #define ODISOStrEqual(A,B) (strcmp(A,B)==0)
- #define ODISOStrLength(S) strlen(S)
-
- ODISOStr ODISOStrFromCStr(const char* cstring);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif /*_ISOSTR_*/
-